<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String message = (String) request.getAttribute("message");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Main Menu</title>
</head>
<body>
	<h1>Welcome</h1>
	
	<%if(message!=null){ %>
	<h3><%=message %></h3>
	<%} %>

	<h2>
		<a href="pages/addContact.jsp" name="addContact">Ajouter un
			contact</a>
	</h2>
	<h2>
		<a href="pages/removeContact.jsp" name="deleteContact">Supprimer
			un contact</a>
	</h2>
	<h2>
		<a href="pages/updateContact.jsp" name="modifyContact">Modifier un
			contact</a>
	</h2>

	<h2>
		<a href="pages/searchContact.jsp" name="searchContact">Rechercher
			un contact</a>
	</h2>

	<form method="post" action="PopulateDataBase">
		<input type="submit" id="populate" name="populate"
			value="Remplir base" />
	</form>
</body>
</html>